package com.ruoyi.problem.service;

import javax.servlet.http.HttpServletRequest;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.problem.pojo.AnswerDTO;
import com.ruoyi.problem.pojo.RewardVO;

public interface AppProblemService {

	/**
	 * 	打赏咨询
	 * @param rewardVO
	 * @param request
	 * @return
	 */
	AjaxResult getRewardConsultationOrder(RewardVO rewardVO,HttpServletRequest request);
	
	/**
	 * 	抢单池
	 * @param pageNo
	 * @param request
	 * @return
	 */
	AjaxResult getOrderGrabbingPool(Integer pageNo,Integer type,HttpServletRequest request);
	
	/**
	 * 	解答详情
	 * @param id
	 * @param request
	 * @return
	 */
	AjaxResult getAnswerDetail(Long id,HttpServletRequest request);
	
	/**
	 * 	回复用户提问
	 * @param answer
	 * @param request
	 * @return
	 */
	AjaxResult replyProblem(AnswerDTO answer,HttpServletRequest request);
	
	/**
	 * 	采纳咨询师回复
	 * @param id
	 * @param request
	 * @return
	 */
	AjaxResult adoptUserReply(Long id,HttpServletRequest request);
}
